from calculate import *
import unittest
class Test_jsq(unittest.TestCase):
	def test_jiajian(self):
		jj=quchu("95+5")
		self.assertEqual(jj,100.0)
	def test_jianfa(self):
		jj=quchu("88-5")
		self.assertEqual(jj,83.0)
	def test_chengfa(self):
		jj=quchu("3*5")
		self.assertEqual(jj,15.0)
	def test_chufa(self):
		jj=quchu("3/2")
		self.assertEqual(jj,1.5)
if __name__ == "__main__":
	unittest.main()
